crypto/ecdh.PrivateKey.privateKey (field)
11 uses
crypto/ecdh (current package)
ecdh.go#L109: privateKey []byte
ecdh.go#L138: return append(buf[:0], k.privateKey...)
ecdh.go#L154: subtle.ConstantTimeCompare(k.privateKey, xx.privateKey) == 1
nist.go#L91: privateKey: append([]byte{}, key...),
nist.go#L100: privateKey: append([]byte(nil), privateKey...),
nist.go#L110: p, err := c.newPoint().ScalarBaseMult(key.privateKey)
nist.go#L208: if _, err := p.ScalarMult(p, local.privateKey); err != nil {
x25519.go#L50: privateKey: append([]byte{}, key...),
x25519.go#L63: x25519ScalarMult(k.publicKey, key.privateKey, x25519Basepoint[:])
x25519.go#L79: x25519ScalarMult(out, local.privateKey, remote.publicKey)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |